package com.yc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@SpringBootApplication
// 扫描 MyBatis Plus 的 Mapper 接口
@MapperScan("com.yc.user.mapper") // 注意：包名从 repository 变更为 mapper
@EnableFeignClients(basePackages= {"com.yc.feign"})
public class UserApplication {
    public static void main( String[] args )
    {
        SpringApplication.run( UserApplication.class, args);
    }
}